package com.vcredit.creditcat.api;


import java.util.Map;

import com.vcredit.creditcat.dto.product.MerchantProductDto;
import com.vcredit.creditcat.dto.product.ProductExpireItemDto;
import com.vcredit.creditcat.model.CustProductApply;
import com.vcredit.framework.exception.BaseException;

/** 
* 信用猫申请贷款产品
* @author 栗新玉
* @version 2017年5月25日 下午4:40:54
*/

public interface ICreditProductManager {

  /**
   * 额度申请提交
   * @param custId
   * @throws BaseException
   * @throws Exception 
   */
  public ProductExpireItemDto applyCommit(Long custId, Long productId, Map<String,String> otherParams) throws Exception;


  /**
   * 增加申请状态标记
   * @param custId
   * @param productId
   * @return
   * @throws Exception
   */
  public String getStatus(Long custId, Long productId, Long type, MerchantProductDto dto) throws Exception;

  public CustProductApply getAppliedItem(Long custId, Long productId);
}
